﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.BBS
{

    /// <summary>
    /// 发布公告
    /// </summary>
    [Table("BBS_Post")]
    public class BBS_Post : BaseEntity
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 模块Id
        /// </summary>
        public int? AreaId { get; set; }
        /// <summary>
        /// 模块名称
        /// </summary>
        public string AreaName { get; set; }
        /// <summary>
        /// 发布状态
        /// </summary>
        public int? Status { get; set; } = 0;

        /// <summary>
        /// 公告性质Id 
        /// </summary>
        public int? PostTypeId { get; set; }
        /// <summary>
        /// 公告性质名称
        /// </summary>
        public string PostTypeName { get; set; }

        /// <summary>
        /// 是否展示
        /// </summary>
        public int? IsShow { get; set; }

        /// <summary>
        /// 发布范围
        /// </summary>
        public int? PostPublic { get; set; }
        /// <summary>
        /// 发布范围名称
        /// </summary>
        public string PostPublicName { get; set; }

    }
}
